import 'package:flutter/material.dart';
import 'package:xindong/utils/queue/xindong_svga_queue.dart';
import 'package:xindong/widgets/animation/xindong_animation_svga.dart';

// 动画接收礼物
class XinDongAnimationReceiveGift extends StatelessWidget {
  final double itemWidth = 50.0;
  final SVGAClass model;
  final XinDongAnimationSVGA animationSVGA;

  const XinDongAnimationReceiveGift({Key? key, required this.model, required this.animationSVGA}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    // 忽略手势
    return IgnorePointer(
      child: Container(
        width: double.infinity,
        height: double.infinity,
        color: Colors.black54,
        child: Center(child: animationSVGA),
      ),
    );
  }
}
